package com.commpany.servie.basic.order.business.write.userOrder.impl;

import org.slf4j.Logger;
import org.slf4j.LoggerFactory;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;
import com.commpany.jdq.core.orm.Pagination;
import com.commpany.servie.basic.order.business.write.userOrder.UserOrderWriteManage;
import com.commpany.servie.basic.order.dao.write.UserOrderWriteDAO;
import com.commpany.servie.basic.order.po.UserOrderPO;
@Service
public class UserOrderWriteManageImpl implements UserOrderWriteManage {
	Logger logger = LoggerFactory.getLogger(this.getClass());
	@Autowired
	private UserOrderWriteDAO userOrderWriteDAO;
	@Override
	public int insertUserOrderService( UserOrderPO po ){
	
	  return userOrderWriteDAO.insert(po);
	}
	@Override
    public int updateUserOrderService( UserOrderPO po ){
        return userOrderWriteDAO.update(po);
    }
    
    @Override
    public int deleteUserOrderService( UserOrderPO po ){
        return userOrderWriteDAO.delete(po);
    }
}
	